{include file=header.html}
<style>
label.error {margin-left:2em; color:#FF0000;}
</style>
<body>
<div class="sub-body">
<div class="tab-frame" style="width:900px;">
<div class="tab-title-1"><span>工厂信息</span></div>
<table width="100%" cellspacing="0" cellpadding="0" class="tab-display">
	<tr>
		<th width="15%" align="right">{$lang.factory_name}：</th>
		<td align="left">{$factory.factory_name}</td>
	</tr>
	<tr>
		<th align="right">{$lang.factory_charge}：</th>
		<td align="left">
				{$factory.factory_charge}
		</td>
	</tr>
	<tr>
		<th align="right">{$lang.address}：</th>
		<td align="left">{$factory.address}</td>
	</tr>
	<tr>
		<th align="right">{$lang.phone_mob}：</th>
		<td align="left">{$factory.phone_mob}</td>
	</tr>
	<tr>
		<th align="right">{$lang.phone_tel}：</th>
		<td align="left">{$factory.phone_tel}</td>
	</tr>
	<tr>
		<th align="right">{$lang.email}：</th>
		<td align="left">{$factory.email}</td>
	</tr>
	<tr>
		<th align="right">{$lang.is_qq}：</th>
		<td align="left">{$factory.is_qq}</td>
	</tr>
	<!-- {if $user.role eq USER_FINANCE} -->
	<tr>
		<th align="right">银行账号：</th>
		<td align="left">
				{$factory.bank_account|escape}
		</td>
	</tr>
	<tr>
		<th align="right">银行账户：</th>
		<td align="left">
				{$factory.bank_user|escape}
		</td>
	</tr>
	<tr>
		<th align="right">开户行：</th>
		<td align="left">
				{$factory.bank_name|escape}
		</td>
	</tr>
	<!-- {/if} -->
	<tr>
		<th align="right">{$lang.factory_img}：</th>
		<td align="left">
			<div style="display: inline-block;">
			<!-- {foreach from=$factory.factory_images item=file} -->
			<span><img src="{$file.file_path}" title="点击查看大图" width="120px" height="100px" style="cursor: pointer;" /></span>&nbsp;
	        <!-- {/foreach} -->
	        </div>
		</td>
	</tr>
	<tr>
		<th align="right">备注：</th>
		<td align="left"><textarea cols="100" rows="6" readonly="readonly">{$factory.demo}</textarea></td>
	</tr>
	<tr>
            <td colspan="2" align="center"><input type="button" value="返回" class="btn-2" onClick="location.href='index.php?app=factory_list'"/></td>
	</tr>
</table>
<script language="javascript" type="text/javascript" src="{res file=js/tab_color.js}"></script>
</div>
</div>
</body>
</html>